package com.ruoyi.web.invest.asset.dividend.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分红收入对象 dividend
 * 
 * @author houxuzhong
 * @date 2021-09-01
 */
public class InvestDividend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 发行人id */
    @Excel(name = "发行人id")
    private Long publishId;

    /** 发行人 */
    @Excel(name = "发行人")
    private String publishName;

    /** 投资人id */
    @Excel(name = "投资人id")
    private Long investId;

    /** 投资人 */
    @Excel(name = "投资人")
    private String investName;

    /** 分红记录id */
    @Excel(name = "分红记录id")
    private Long dividendId;

    /** 分红金额 */
    @Excel(name = "分红金额")
    private BigDecimal dividendNumber;

    /** 分红信息 */
    @Excel(name = "分红信息")
    private String dividendMessage;

    /** 分红状态(0未确认，1已确认) */
    @Excel(name = "分红状态(0未确认，1已确认)")
    private Integer dividendVerify;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createById;

    /** 更新者ID */
    @Excel(name = "更新者ID")
    private Long updateById;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPublishId(Long publishId) 
    {
        this.publishId = publishId;
    }

    public Long getPublishId() 
    {
        return publishId;
    }
    public void setPublishName(String publishName) 
    {
        this.publishName = publishName;
    }

    public String getPublishName() 
    {
        return publishName;
    }
    public void setInvestId(Long investId) 
    {
        this.investId = investId;
    }

    public Long getInvestId() 
    {
        return investId;
    }
    public void setInvestName(String investName) 
    {
        this.investName = investName;
    }

    public String getInvestName() 
    {
        return investName;
    }
    public void setDividendId(Long dividendId) 
    {
        this.dividendId = dividendId;
    }

    public Long getDividendId() 
    {
        return dividendId;
    }
    public void setDividendNumber(BigDecimal dividendNumber) 
    {
        this.dividendNumber = dividendNumber;
    }

    public BigDecimal getDividendNumber() 
    {
        return dividendNumber;
    }
    public void setDividendMessage(String dividendMessage) 
    {
        this.dividendMessage = dividendMessage;
    }

    public String getDividendMessage() 
    {
        return dividendMessage;
    }
    public void setDividendVerify(Integer dividendVerify) 
    {
        this.dividendVerify = dividendVerify;
    }

    public Integer getDividendVerify() 
    {
        return dividendVerify;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCreateById(Long createById) 
    {
        this.createById = createById;
    }

    public Long getCreateById() 
    {
        return createById;
    }
    public void setUpdateById(Long updateById) 
    {
        this.updateById = updateById;
    }

    public Long getUpdateById() 
    {
        return updateById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publishId", getPublishId())
            .append("publishName", getPublishName())
            .append("investId", getInvestId())
            .append("investName", getInvestName())
            .append("dividendId", getDividendId())
            .append("dividendNumber", getDividendNumber())
            .append("dividendMessage", getDividendMessage())
            .append("dividendVerify", getDividendVerify())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
